package cn.b0x0.products8002.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author SomUrim
 * @version 1.0
 * @Description 描述
 * @data 2021/2/7
 */
@RestController
public class ProductController {
    @Value("${server.port}")
    String port;

    @GetMapping("/product/getproduct")
    public String getProduct(){
        return "getproduct  "+port;
    }
}
